﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;

namespace MockClass
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();
            ReadFile();
        }

        private void ReadFile()
        {
            var lines = File.ReadAllLines("C:\\Users\\Administrator\\Desktop\\Names.txt", Encoding.Default);
            foreach (var item in lines)
            {
                Debug.WriteLine(item.Trim());
            }
        }
    }

    public class CommonTypes
    {
        public string Name { get; set; }
        public string[] Datas { get; set; }
    }
}
